package com.example.demo.dao;


import com.example.demo.entity.UserEntity;

public interface UserDao {

    //查询是否存在Boss用户
    String selectBoss();
    //注册新用户
    boolean enroll(UserEntity userEntity);
    //查询密码
    UserEntity selectPasswordByUsername(String username);
    //查询操作者权限
    int selectAuthority(String username);
    //查询用户名是否存在
    Integer selectUser (String username);


}
